﻿using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 基于WPF的电缆采样数据分析系统.Models.FileLogs
{
    /// <summary>
    /// 使用日志
    /// </summary>
    public class AllUsedLog : BindableBase
    {
        /// <summary>
        /// 日志的id
        /// </summary>
        private int _Aid;

        /// <summary>
        /// 日志的id
        /// </summary>
        public int Aid
        {
            get { return _Aid; }
            set { 
                _Aid = value;
                RaisePropertyChanged();
            }
        }


        /// <summary>
        /// 用户id
        /// </summary>
        public int Uid { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public DateTime Time { get; set; }

        /// <summary>
        /// 操作描述
        /// </summary>
        public string OperateDescription { get; set; }

        /// <summary>
        /// 是否选中
        /// </summary>
        private bool _IsSelected;

        /// <summary>
        /// 是否选中
        /// </summary>
        public bool IsSelected
        {
            get { return _IsSelected; }
            set { 
                _IsSelected = value;
                RaisePropertyChanged();
            }
        }

    }
}
